home *** CD-ROM | disk | FTP | other *** search
/ Macwelt 4 / Macwelt DVD 4.cdr / Entwickler / Mac-OS X / Pantomime / Source / IMAPCacheObject.m < prev    next >
MacBinary  |  2002-02-08  |  2.4 KB  |  [□□□□/□□□□]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert Ultima 6 (music/ultima6) ext Supported
1% dexvert PC-98 Music (music/pc98Music) ext Unsupported
1% dexvert Amiga E Module (other/amigaEModule) ext Unsupported
1% dexvert ECX module (other/ecxModule) ext Unsupported
1% dexvert Maple Common Binary (other/mapleCommonBinary) ext Unsupported
1% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Fri Feb 8 13:43:10 2002, modified Fri Feb 8 13:43:10 2002, 1910 bytes "IMAPCacheObject.m" , at 0x7f6 286 bytes resource default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% dearkID deark: macbinary default
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[□□□□]
macFileCreator[□□□□]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 11 49 4d 41 50 43 61 | 63 68 65 4f 62 6a 65 63 |..IMAPCa|cheObjec|
|00000010| 74 2e 6d 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |t.m.....|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 01 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 07 76 00 | 00 01 1e b8 89 cc be b8 |......v.|........|
|00000060| 89 cc be 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 d0 cc 00 00 |........|........|
|00000080| 2f 2a 0a 2a 2a 20 20 49 | 4d 41 50 43 61 63 68 65 |/*.** I|MAPCache|
|00000090| 4f 62 6a 65 63 74 2e 6d | 0a 2a 2a 0a 2a 2a 20 20 |Object.m|.**.** |
|000000a0| 43 6f 70 79 72 69 67 68 | 74 20 28 63 29 20 32 30 |Copyrigh|t (c) 20|
|000000b0| 30 31 2c 20 32 30 30 32 | 0a 2a 2a 0a 2a 2a 20 20 |01, 2002|.**.** |
|000000c0| 41 75 74 68 6f 72 3a 20 | 4c 75 64 6f 76 69 63 20 |Author: |Ludovic |
|000000d0| 4d 61 72 63 6f 74 74 65 | 20 3c 6c 75 64 6f 76 69 |Marcotte| <ludovi|
|000000e0| 63 40 53 6f 70 68 6f 73 | 2e 63 61 3e 0a 2a 2a 0a |c@Sophos|.ca>.**.|
|000000f0| 2a 2a 20 20 54 68 69 73 | 20 6c 69 62 72 61 72 79 |** This| library|
|00000100| 20 69 73 20 66 72 65 65 | 20 73 6f 66 74 77 61 72 | is free| softwar|
|00000110| 65 3b 20 79 6f 75 20 63 | 61 6e 20 72 65 64 69 73 |e; you c|an redis|
|00000120| 74 72 69 62 75 74 65 20 | 69 74 20 61 6e 64 2f 6f |tribute |it and/o|
|00000130| 72 0a 2a 2a 20 20 6d 6f | 64 69 66 79 20 69 74 20 |r.** mo|dify it |
|00000140| 75 6e 64 65 72 20 74 68 | 65 20 74 65 72 6d 73 20 |under th|e terms |
|00000150| 6f 66 20 74 68 65 20 47 | 4e 55 20 4c 65 73 73 65 |of the G|NU Lesse|
|00000160| 72 20 47 65 6e 65 72 61 | 6c 20 50 75 62 6c 69 63 |r Genera|l Public|
|00000170| 0a 2a 2a 20 20 4c 69 63 | 65 6e 73 65 20 61 73 20 |.** Lic|ense as |
|00000180| 70 75 62 6c 69 73 68 65 | 64 20 62 79 20 74 68 65 |publishe|d by the|
|00000190| 20 46 72 65 65 20 53 6f | 66 74 77 61 72 65 20 46 | Free So|ftware F|
|000001a0| 6f 75 6e 64 61 74 69 6f | 6e 3b 20 65 69 74 68 65 |oundatio|n; eithe|
|000001b0| 72 0a 2a 2a 20 20 76 65 | 72 73 69 6f 6e 20 32 2e |r.** ve|rsion 2.|
|000001c0| 31 20 6f 66 20 74 68 65 | 20 4c 69 63 65 6e 73 65 |1 of the| License|
|000001d0| 2c 20 6f 72 20 28 61 74 | 20 79 6f 75 72 20 6f 70 |, or (at| your op|
|000001e0| 74 69 6f 6e 29 20 61 6e | 79 20 6c 61 74 65 72 20 |tion) an|y later |
|000001f0| 76 65 72 73 69 6f 6e 2e | 0a 2a 2a 20 20 0a 2a 2a |version.|.** .**|
|00000200| 20 20 54 68 69 73 20 6c | 69 62 72 61 72 79 20 69 | This l|ibrary i|
|00000210| 73 20 64 69 73 74 72 69 | 62 75 74 65 64 20 69 6e |s distri|buted in|
|00000220| 20 74 68 65 20 68 6f 70 | 65 20 74 68 61 74 20 69 | the hop|e that i|
|00000230| 74 20 77 69 6c 6c 20 62 | 65 20 75 73 65 66 75 6c |t will b|e useful|
|00000240| 2c 0a 2a 2a 20 20 62 75 | 74 20 57 49 54 48 4f 55 |,.** bu|t WITHOU|
|00000250| 54 20 41 4e 59 20 57 41 | 52 52 41 4e 54 59 3b 20 |T ANY WA|RRANTY; |
|00000260| 77 69 74 68 6f 75 74 20 | 65 76 65 6e 20 74 68 65 |without |even the|
|00000270| 20 69 6d 70 6c 69 65 64 | 20 77 61 72 72 61 6e 74 | implied| warrant|
|00000280| 79 20 6f 66 0a 2a 2a 20 | 20 4d 45 52 43 48 41 4e |y of.** | MERCHAN|
|00000290| 54 41 42 49 4c 49 54 59 | 20 6f 72 20 46 49 54 4e |TABILITY| or FITN|
|000002a0| 45 53 53 20 46 4f 52 20 | 41 20 50 41 52 54 49 43 |ESS FOR |A PARTIC|
|000002b0| 55 4c 41 52 20 50 55 52 | 50 4f 53 45 2e 20 53 65 |ULAR PUR|POSE. Se|
|000002c0| 65 20 74 68 65 20 47 4e | 55 0a 2a 2a 20 20 4c 65 |e the GN|U.** Le|
|000002d0| 73 73 65 72 20 47 65 6e | 65 72 61 6c 20 50 75 62 |sser Gen|eral Pub|
|000002e0| 6c 69 63 20 4c 69 63 65 | 6e 73 65 20 66 6f 72 20 |lic Lice|nse for |
|000002f0| 6d 6f 72 65 20 64 65 74 | 61 69 6c 73 2e 0a 2a 2a |more det|ails..**|
|00000300| 20 20 0a 2a 2a 20 20 59 | 6f 75 20 73 68 6f 75 6c | .** Y|ou shoul|
|00000310| 64 20 68 61 76 65 20 72 | 65 63 65 69 76 65 64 20 |d have r|eceived |
|00000320| 61 20 63 6f 70 79 20 6f | 66 20 74 68 65 20 47 4e |a copy o|f the GN|
|00000330| 55 20 4c 65 73 73 65 72 | 20 47 65 6e 65 72 61 6c |U Lesser| General|
|00000340| 20 50 75 62 6c 69 63 0a | 2a 2a 20 20 4c 69 63 65 | Public.|** Lice|
|00000350| 6e 73 65 20 61 6c 6f 6e | 67 20 77 69 74 68 20 74 |nse alon|g with t|
|00000360| 68 69 73 20 6c 69 62 72 | 61 72 79 3b 20 69 66 20 |his libr|ary; if |
|00000370| 6e 6f 74 2c 20 77 72 69 | 74 65 20 74 6f 20 74 68 |not, wri|te to th|
|00000380| 65 20 46 72 65 65 20 53 | 6f 66 74 77 61 72 65 0a |e Free S|oftware.|
|00000390| 2a 2a 20 20 46 6f 75 6e | 64 61 74 69 6f 6e 2c 20 |** Foun|dation, |
|000003a0| 49 6e 63 2e 2c 20 35 39 | 20 54 65 6d 70 6c 65 20 |Inc., 59| Temple |
|000003b0| 50 6c 61 63 65 2c 20 53 | 75 69 74 65 20 33 33 30 |Place, S|uite 330|
|000003c0| 2c 20 42 6f 73 74 6f 6e | 2c 20 4d 41 20 30 32 31 |, Boston|, MA 021|
|000003d0| 31 31 2d 31 33 30 37 20 | 55 53 41 0a 2a 2f 0a 0a |11-1307 |USA.*/..|
|000003e0| 23 69 6d 70 6f 72 74 20 | 3c 50 61 6e 74 6f 6d 69 |#import |<Pantomi|
|000003f0| 6d 65 2f 49 4d 41 50 43 | 61 63 68 65 4f 62 6a 65 |me/IMAPC|acheObje|
|00000400| 63 74 2e 68 3e 0a 0a 23 | 69 6d 70 6f 72 74 20 3c |ct.h>..#|import <|
|00000410| 50 61 6e 74 6f 6d 69 6d | 65 2f 43 6f 6e 73 74 61 |Pantomim|e/Consta|
|00000420| 6e 74 73 2e 68 3e 0a 23 | 69 6d 70 6f 72 74 20 3c |nts.h>.#|import <|
|00000430| 50 61 6e 74 6f 6d 69 6d | 65 2f 4d 65 73 73 61 67 |Pantomim|e/Messag|
|00000440| 65 2e 68 3e 0a 0a 40 69 | 6d 70 6c 65 6d 65 6e 74 |e.h>..@i|mplement|
|00000450| 61 74 69 6f 6e 20 49 4d | 41 50 43 61 63 68 65 4f |ation IM|APCacheO|
|00000460| 62 6a 65 63 74 0a 0a 2d | 20 28 69 64 29 20 69 6e |bject..-| (id) in|
|00000470| 69 74 0a 7b 0a 20 20 5b | 73 75 70 65 72 20 69 6e |it.{. [|super in|
|00000480| 69 74 5d 3b 0a 0a 20 20 | 72 65 74 75 72 6e 20 73 |it];.. |return s|
|00000490| 65 6c 66 3b 0a 7d 0a 0a | 0a 2d 20 28 69 64 29 20 |elf;.}..|.- (id) |
|000004a0| 69 6e 69 74 57 69 74 68 | 55 49 44 3a 20 28 69 6e |initWith|UID: (in|
|000004b0| 74 29 20 74 68 65 55 49 | 44 0a 09 20 20 20 6d 65 |t) theUI|D.. me|
|000004c0| 73 73 61 67 65 3a 20 28 | 4d 65 73 73 61 67 65 20 |ssage: (|Message |
|000004d0| 2a 29 20 74 68 65 4d 65 | 73 73 61 67 65 0a 7b 0a |*) theMe|ssage.{.|
|000004e0| 20 20 5b 73 65 6c 66 20 | 69 6e 69 74 5d 3b 0a 20 | [self |init];. |
|000004f0| 0a 20 20 5b 73 65 6c 66 | 20 73 65 74 55 49 44 3a |. [self| setUID:|
|00000500| 20 74 68 65 55 49 44 5d | 3b 0a 20 20 5b 73 65 6c | theUID]|;. [sel|
|00000510| 66 20 73 65 74 4d 65 73 | 73 61 67 65 3a 20 74 68 |f setMes|sage: th|
|00000520| 65 4d 65 73 73 61 67 65 | 5d 3b 0a 20 20 0a 20 20 |eMessage|];. . |
|00000530| 72 65 74 75 72 6e 20 73 | 65 6c 66 3b 0a 7d 0a 0a |return s|elf;.}..|
|00000540| 2d 20 28 76 6f 69 64 29 | 20 64 65 61 6c 6c 6f 63 |- (void)| dealloc|
|00000550| 0a 7b 0a 20 20 52 45 4c | 45 41 53 45 28 6d 65 73 |.{. REL|EASE(mes|
|00000560| 73 61 67 65 29 3b 0a 0a | 20 20 5b 73 75 70 65 72 |sage);..| [super|
|00000570| 20 64 65 61 6c 6c 6f 63 | 5d 3b 0a 7d 0a 0a 0a 2f | dealloc|];.}.../|
|00000580| 2f 0a 2f 2f 20 4e 53 43 | 6f 64 69 6e 67 20 70 72 |/.// NSC|oding pr|
|00000590| 6f 74 6f 63 6f 6c 0a 2f | 2f 0a 2d 20 28 76 6f 69 |otocol./|/.- (voi|
|000005a0| 64 29 20 65 6e 63 6f 64 | 65 57 69 74 68 43 6f 64 |d) encod|eWithCod|
|000005b0| 65 72 3a 20 28 4e 53 43 | 6f 64 65 72 20 2a 29 20 |er: (NSC|oder *) |
|000005c0| 74 68 65 43 6f 64 65 72 | 0a 7b 0a 20 20 5b 74 68 |theCoder|.{. [th|
|000005d0| 65 43 6f 64 65 72 20 65 | 6e 63 6f 64 65 4f 62 6a |eCoder e|ncodeObj|
|000005e0| 65 63 74 3a 20 5b 4e 53 | 4e 75 6d 62 65 72 20 6e |ect: [NS|Number n|
|000005f0| 75 6d 62 65 72 57 69 74 | 68 49 6e 74 3a 20 5b 73 |umberWit|hInt: [s|
|00000600| 65 6c 66 20 75 69 64 5d | 5d 20 5d 3b 0a 20 20 5b |elf uid]|] ];. [|
|00000610| 74 68 65 43 6f 64 65 72 | 20 65 6e 63 6f 64 65 4f |theCoder| encodeO|
|00000620| 62 6a 65 63 74 3a 20 5b | 73 65 6c 66 20 6d 65 73 |bject: [|self mes|
|00000630| 73 61 67 65 5d 20 5d 3b | 0a 7d 0a 0a 2d 20 28 69 |sage] ];|.}..- (i|
|00000640| 64 29 20 69 6e 69 74 57 | 69 74 68 43 6f 64 65 72 |d) initW|ithCoder|
|00000650| 3a 20 28 4e 53 43 6f 64 | 65 72 20 2a 29 20 74 68 |: (NSCod|er *) th|
|00000660| 65 43 6f 64 65 72 0a 7b | 0a 20 20 73 65 6c 66 20 |eCoder.{|. self |
|00000670| 3d 20 5b 73 75 70 65 72 | 20 69 6e 69 74 5d 3b 0a |= [super| init];.|
|00000680| 0a 20 20 5b 73 65 6c 66 | 20 73 65 74 55 49 44 3a |. [self| setUID:|
|00000690| 20 5b 5b 74 68 65 43 6f | 64 65 72 20 64 65 63 6f | [[theCo|der deco|
|000006a0| 64 65 4f 62 6a 65 63 74 | 5d 20 69 6e 74 56 61 6c |deObject|] intVal|
|000006b0| 75 65 5d 20 5d 3b 0a 20 | 20 5b 73 65 6c 66 20 73 |ue] ];. | [self s|
|000006c0| 65 74 4d 65 73 73 61 67 | 65 3a 20 5b 74 68 65 43 |etMessag|e: [theC|
|000006d0| 6f 64 65 72 20 64 65 63 | 6f 64 65 4f 62 6a 65 63 |oder dec|odeObjec|
|000006e0| 74 5d 20 5d 3b 0a 0a 20 | 20 72 65 74 75 72 6e 20 |t] ];.. | return |
|000006f0| 73 65 6c 66 3b 0a 7d 0a | 0a 2d 20 28 76 6f 69 64 |self;.}.|.- (void|
|00000700| 29 20 73 65 74 55 49 44 | 3a 20 28 69 6e 74 29 20 |) setUID|: (int) |
|00000710| 74 68 65 55 49 44 0a 7b | 0a 20 20 75 69 64 20 3d |theUID.{|. uid =|
|00000720| 20 74 68 65 55 49 44 3b | 0a 7d 0a 0a 2d 20 28 69 | theUID;|.}..- (i|
|00000730| 6e 74 29 20 75 69 64 0a | 7b 0a 20 20 72 65 74 75 |nt) uid.|{. retu|
|00000740| 72 6e 20 75 69 64 3b 0a | 7d 0a 0a 0a 2d 20 28 76 |rn uid;.|}...- (v|
|00000750| 6f 69 64 29 20 73 65 74 | 4d 65 73 73 61 67 65 3a |oid) set|Message:|
|00000760| 20 28 4d 65 73 73 61 67 | 65 20 2a 29 20 74 68 65 | (Messag|e *) the|
|00000770| 4d 65 73 73 61 67 65 0a | 7b 0a 20 20 52 45 54 41 |Message.|{. RETA|
|00000780| 49 4e 28 74 68 65 4d 65 | 73 73 61 67 65 29 3b 0a |IN(theMe|ssage);.|
|00000790| 20 20 54 45 53 54 5f 52 | 45 4c 45 41 53 45 28 6d | TEST_R|ELEASE(m|
|000007a0| 65 73 73 61 67 65 29 3b | 0a 20 20 6d 65 73 73 61 |essage);|. messa|
|000007b0| 67 65 20 3d 20 74 68 65 | 4d 65 73 73 61 67 65 3b |ge = the|Message;|
|000007c0| 0a 7d 0a 0a 2d 20 28 4d | 65 73 73 61 67 65 20 2a |.}..- (M|essage *|
|000007d0| 29 20 6d 65 73 73 61 67 | 65 0a 7b 0a 20 20 72 65 |) messag|e.{. re|
|000007e0| 74 75 72 6e 20 6d 65 73 | 73 61 67 65 3b 0a 7d 0a |turn mes|sage;.}.|
|000007f0| 0a 40 65 6e 64 0a 00 00 | 00 00 00 00 00 00 00 00 |.@end...|........|
|00000800| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000810| 54 68 69 73 20 72 65 73 | 6f 75 72 63 65 20 66 6f |This res|ource fo|
|00000820| 72 6b 20 69 6e 74 65 6e | 74 69 6f 6e 61 6c 6c 79 |rk inten|tionally|
|00000830| 20 6c 65 66 74 20 62 6c | 61 6e 6b 20 20 20 00 00 | left bl|ank ..|
|00000840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000880| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000900| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000910| 00 00 00 00 00 00 00 00 | 00 1c 00 1e ff ff 00 00 |........|........|
|00000920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+